<?php


require_once('db/PresenterDB.class.php');

class Presenter
{
	var $data = null;
	var $id = null;
	var $name = null;
	
	
	function Title($data = null, $id = null) {
		$this->data = $data;
		
		if (!empty($id)) {
			$this->id = $id;		
			$row = $this->data->getPresenter($id);
			
			$this->name = $row['title'];
			
		}
	}
	
	
	function getPresenters() {
					return $this->data->getPresenters();
 	}
}
?>